HCaptcha\Settings\Integrations D

Total Complexity 153
Dependencies 12
Dependents 5
Total lines 2,016
Lines of code 1,334
Logical lines of code 364
Comment lines 355
Methods 45
Properties 6

Methods 45

Method Rating Maintainability Complexity Lines of code
init_form_fields()
D
15
2 588
install_entity()
A
50 9 30
process_theme()
A
44 7 48
process_plugins()
A
44 6 53
plugin_names_from_tree()
S
52 7 25
plugin_or_theme_installed()
S
56 7 20
install_plugin()
S
48 6 33
prepare_antispam_data()
S
56 7 17
activate()
S
50 6 26
filter_activate_plugins()
S
53 6 24
section_callback()
S
46 4 50
setup_field_data()
S
54 6 18
install_theme()
S
49 5 32
admin_enqueue_scripts()
S
42 2 56
sort_fields()
S
56 4 19
maybe_activate_plugin()
S
59 4 17
activate_theme()
S
58 4 17
activate_plugins()
S
58 4 16
activate_plugin_tree()
S
61 4 13
plugin_dirs_to_slugs()
S
60 4 13
setup_antispam_data()
S
61 4 11
format_form_antispam_helpers()
S
52 3 25
logo()
S
53 3 22
build_plugins_tree()
S
59 3 15
after_switch_theme_action()
S
61 3 12
activate_plugin()
S
64 3 9
get_plugin_data()
S
65 3 9
get_installed_entities()
S
65 3 9
init()
S
65 2 9
setup_fields()
S
66 2 9
plugin_names_from_trees()
S
68 2 7
deactivate_plugins()
S
74 2 4
json_data()
S
64 2 9
get_activation_stati()
S
68 2 7
get_default_theme()
S
75 2 4
get_themes()
S
64 1 11
page_title()
S
79 1 3
section_title()
S
82 1 3
init_hooks()
S
67 1 7
search_box()
S
68 1 10
plugin_dependencies()
S
64 1 9
send_json_success()
S
80 1 3
send_json_error()
S
80 1 3
get_plugin_file()
S
79 1 3
prepare_form_field_antispam_data()
S
70 1 6